package org.csu.mypetstore_seller.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;


@Data
public class Product implements Serializable{
    @TableId("productid")
    private String productId;
    @TableField("category")
    private String categoryId;
    @TableField("name")
    private String name;
    @TableField("descn")
    private String description;
    @TableLogic(value = "0", delval = "-1")
    @TableField(value = "delete_flag", fill = FieldFill.INSERT)
    private Integer deleteFlag;
}
